#!/bin/sh /etc/rc.common

START=92
STOP=92
SERVICE=xznet
PROG=/root/service/xznet/xznet_server
CFG_PATH=/root/service/xznet/xznet_server.conf
USE_PROCD=1

start_service()
{
    procd_open_instance
    procd_set_param command $PROG
    procd_append_param command $CFG_PATH
    procd_set_param respawn
    procd_close_instance
}
